<?php
/**
 * User: @lose
 * Date: 2020/8/27
 * Time: 5:37 下午
 */

namespace Frieza\Modules\AbTest\Actions;

use Encore\Admin\Actions\RowAction;

class ResetCache extends RowAction
{
    public $name = '重置缓存';

    public function dialog()
    {
        $this->confirm('确定重置缓存？');
    }

    public function getHandleRoute()
    {
        return admin_url('abTest/resetCache');
    }
}